<?php
namespace app\index\controller;
use think\Request;

class MyTeam extends Base
{



    public function index()
    {

        $myTeams = model('user')->getMyTeam($this->uid);
        $this->assign('myTeams',$myTeams);
        return view('index');

    }



    public function friends(){

        $myTeams = model('user')->getMyTeam($this->uid);
        $this->assign('myTeams',$myTeams);
        return view('friends');
    }











}
